package com.example.cr.insect.mapper;

import com.example.cr.insect.entity.PestOccurrence;
import com.example.cr.insect.entity.PestOccurrenceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PestOccurrenceMapper {
    long countByExample(PestOccurrenceExample example);

    int deleteByExample(PestOccurrenceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PestOccurrence row);

    int insertSelective(PestOccurrence row);

    List<PestOccurrence> selectByExample(PestOccurrenceExample example);

    PestOccurrence selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") PestOccurrence row, @Param("example") PestOccurrenceExample example);

    int updateByExample(@Param("row") PestOccurrence row, @Param("example") PestOccurrenceExample example);

    int updateByPrimaryKeySelective(PestOccurrence row);

    int updateByPrimaryKey(PestOccurrence row);
}